package com.ktgj.service.common.ygcd.domain.enums;

/**  取消原因枚举
 * @author wyj
 * @create 2021-10-21 11:00
 */
public enum CancelReasonEnum {
    OtherReason(1,"其它原因"),
    ChoseOtherTans(101,"选择了其它交通方式"),
    TravelChange(102,"行程改变"),
    CarTooFar(103,"车辆太远"),
    AgreeWithDriver(104,"与司机达成一致"),
    FlightDelayOrCancel(105,"航班延误或取消"),
    CreateOrderAgain(106,"订错了重新下单"),
    DriverMiss(201,"司机爽约"),
    DriverAskPayCash(202,"司机要求我支付现金"),
    DriverCancelCall(203,"司机电话联系我取消订单"),
    CarDown(204,"司机说车坏了"),
    DriverOrderConflict(205,"司机订单冲突"),
    SystemError(301,"系统问题")


    ;
    private Integer code; //响应状态码
    private String message; //响应信息

    CancelReasonEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
